<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Console Game Engine: Console_Engine::Engine Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Console Game Engine
   &#160;<span id="projectnumber">0.6</span>
   </div>
   <div id="projectbrief">Engine for console games</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_console___engine_1_1_engine.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Console_Engine::Engine Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Console_Engine::Engine" -->
<p><code>#include &lt;<a class="el" href="_engine_8h_source.html">Engine.h</a>&gt;</code></p>

<p><a href="class_console___engine_1_1_engine-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a8c98683b0a3aa28d8ab72a8bcd0d52f2">Engine</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a804345156b2904ae2eff69f0ff816a39">Engine</a> (string title)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#aca45d647804f0af66fbc138ad1c48569">Engine</a> (<a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a> size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a12ab58a4f57519325fa29fbbec9bf9b0">Engine</a> (<a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a> position, <a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a> size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a253f9bb72b3dd639ae6612247f9b5f4e">Engine</a> (string title, <a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a> size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a022c530306bb6dd95bf7167634282afc">Engine</a> (string title, <a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a> position, <a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a> size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a8ef7030a089ecb30bbfcb9e43094717a">~Engine</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#af961b3a02bd11c1478972b517bbf9d01">display_splash</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a12fa3aeb2f8701e7fffecad39b80156e">set_size</a> (<a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a> size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a921b0f9094294743059d95f1fcd1c316">set_position</a> (<a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a> position)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a77aac776a5b72f6141e694e6d2c0e763">get_size</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#aecadb2827743d68d9e96ef75ec487505">set_title</a> (string title)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a5a976261a088c5d1b19175fc9b5a695c">set_cursor_pos</a> (<a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a> position)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a92e8e16709f915912a7bb116ab8e2dbf">set_text_color</a> (Color forecolor, Color backcolor)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a9b5c98c903ff57e6eee8daef9ae52501">set_cursor_size</a> (byte size, bool visible)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#ae3641a65fd6a38e204a90f6b0724e3e5">update_console</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#acabdd972226d04c52af37660720a73fe">set_fullscreen</a> (bool fullscreen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">short int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a8217bd1c2c739b3218f69f78fc1dbd69">get_fps</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_console___engine_1_1_sprite.html">Sprite</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_console___engine_1_1_engine.html#a489b5e73fd8ff44bd8ce4ff47b060e1d">buffer</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>the main class </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8c98683b0a3aa28d8ab72a8bcd0d52f2"></a><!-- doxytag: member="Console_Engine::Engine::Engine" ref="a8c98683b0a3aa28d8ab72a8bcd0d52f2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Engine::Engine </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>default constructor initialize engine with default settings </p>

</div>
</div>
<a class="anchor" id="a804345156b2904ae2eff69f0ff816a39"></a><!-- doxytag: member="Console_Engine::Engine::Engine" ref="a804345156b2904ae2eff69f0ff816a39" args="(string title)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Engine::Engine </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>initialize engine and set console title to informed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>console title </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aca45d647804f0af66fbc138ad1c48569"></a><!-- doxytag: member="Console_Engine::Engine::Engine" ref="aca45d647804f0af66fbc138ad1c48569" args="(Vector2 size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Engine::Engine </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>initilize engine with given parameters </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>console window size in pixel(console cells) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a12ab58a4f57519325fa29fbbec9bf9b0"></a><!-- doxytag: member="Console_Engine::Engine::Engine" ref="a12ab58a4f57519325fa29fbbec9bf9b0" args="(Vector2 position, Vector2 size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Engine::Engine </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>initilize engine with given parameters </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>console window position </td></tr>
    <tr><td class="paramname">size</td><td>console window size in pixel(console cells) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a253f9bb72b3dd639ae6612247f9b5f4e"></a><!-- doxytag: member="Console_Engine::Engine::Engine" ref="a253f9bb72b3dd639ae6612247f9b5f4e" args="(string title, Vector2 size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Engine::Engine </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>initilize engine with given parameters </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>console title </td></tr>
    <tr><td class="paramname">size</td><td>console window size in pixel(console cells) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a022c530306bb6dd95bf7167634282afc"></a><!-- doxytag: member="Console_Engine::Engine::Engine" ref="a022c530306bb6dd95bf7167634282afc" args="(string title, Vector2 position, Vector2 size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Engine::Engine </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>initilize engine with given parameters </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>console title </td></tr>
    <tr><td class="paramname">position</td><td>console window position </td></tr>
    <tr><td class="paramname">size</td><td>console window size in pixel(console cells) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8ef7030a089ecb30bbfcb9e43094717a"></a><!-- doxytag: member="Console_Engine::Engine::~Engine" ref="a8ef7030a089ecb30bbfcb9e43094717a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Engine::~Engine </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>destructor </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af961b3a02bd11c1478972b517bbf9d01"></a><!-- doxytag: member="Console_Engine::Engine::display_splash" ref="af961b3a02bd11c1478972b517bbf9d01" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Engine::display_splash </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>draw engine splash </p>

</div>
</div>
<a class="anchor" id="a8217bd1c2c739b3218f69f78fc1dbd69"></a><!-- doxytag: member="Console_Engine::Engine::get_fps" ref="a8217bd1c2c739b3218f69f78fc1dbd69" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">short int Engine::get_fps </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>get current frame rate per second </p>

</div>
</div>
<a class="anchor" id="a77aac776a5b72f6141e694e6d2c0e763"></a><!-- doxytag: member="Console_Engine::Engine::get_size" ref="a77aac776a5b72f6141e694e6d2c0e763" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a> Engine::get_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>get console window size </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>window size </dd></dl>

</div>
</div>
<a class="anchor" id="a5a976261a088c5d1b19175fc9b5a695c"></a><!-- doxytag: member="Console_Engine::Engine::set_cursor_pos" ref="a5a976261a088c5d1b19175fc9b5a695c" args="(Vector2 position)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Engine::set_cursor_pos </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set console cursor position </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>new position </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>return true if success or false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a9b5c98c903ff57e6eee8daef9ae52501"></a><!-- doxytag: member="Console_Engine::Engine::set_cursor_size" ref="a9b5c98c903ff57e6eee8daef9ae52501" args="(byte size, bool visible)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Engine::set_cursor_size </td>
          <td>(</td>
          <td class="paramtype">byte&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>visible</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set cursor size and visible state </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>new cursor size </td></tr>
    <tr><td class="paramname">visible</td><td>visible state </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>return true if success or false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="acabdd972226d04c52af37660720a73fe"></a><!-- doxytag: member="Console_Engine::Engine::set_fullscreen" ref="acabdd972226d04c52af37660720a73fe" args="(bool fullscreen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a> Engine::set_fullscreen </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fullscreen</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>nothing actually </p>

</div>
</div>
<a class="anchor" id="a921b0f9094294743059d95f1fcd1c316"></a><!-- doxytag: member="Console_Engine::Engine::set_position" ref="a921b0f9094294743059d95f1fcd1c316" args="(Vector2 position)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Engine::set_position </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set console window position </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>new position </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>return true if success or false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a12fa3aeb2f8701e7fffecad39b80156e"></a><!-- doxytag: member="Console_Engine::Engine::set_size" ref="a12fa3aeb2f8701e7fffecad39b80156e" args="(Vector2 size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Engine::set_size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_console___engine_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set console window size. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>new size. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>return true if success or false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a92e8e16709f915912a7bb116ab8e2dbf"></a><!-- doxytag: member="Console_Engine::Engine::set_text_color" ref="a92e8e16709f915912a7bb116ab8e2dbf" args="(Color forecolor, Color backcolor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Engine::set_text_color </td>
          <td>(</td>
          <td class="paramtype">Color&#160;</td>
          <td class="paramname"><em>forecolor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Color&#160;</td>
          <td class="paramname"><em>backcolor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set next write forecolor and backcolor in console </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">forecolor</td><td>foreground color </td></tr>
    <tr><td class="paramname">backcolor</td><td>background color </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>return true if success or false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="aecadb2827743d68d9e96ef75ec487505"></a><!-- doxytag: member="Console_Engine::Engine::set_title" ref="aecadb2827743d68d9e96ef75ec487505" args="(string title)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Engine::set_title </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set console window title </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>new title </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>return true if success or false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="ae3641a65fd6a38e204a90f6b0724e3e5"></a><!-- doxytag: member="Console_Engine::Engine::update_console" ref="ae3641a65fd6a38e204a90f6b0724e3e5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Engine::update_console </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>copy buffer to console </p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a489b5e73fd8ff44bd8ce4ff47b060e1d"></a><!-- doxytag: member="Console_Engine::Engine::buffer" ref="a489b5e73fd8ff44bd8ce4ff47b060e1d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_console___engine_1_1_sprite.html">Sprite</a>* <a class="el" href="class_console___engine_1_1_engine.html#a489b5e73fd8ff44bd8ce4ff47b060e1d">Console_Engine::Engine::buffer</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>pointer to buffer </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>source/<a class="el" href="_engine_8h_source.html">Engine.h</a></li>
<li>source/Engine.cpp</li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>Console_Engine</b>      </li>
      <li class="navelem"><a class="el" href="class_console___engine_1_1_engine.html">Engine</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Fri Sep 16 2011 04:46:02 for Console Game Engine by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
